<?php

include_once APPLICATION_DIR.'/application/model/object/RzGroupCategoriesTO.class.php';
include_once APPLICATION_DIR.'/application/model/dao/stmt/mysqlo/GroupCategoriesStmt.class.php';
class GroupCategoriesRM extends RzGroupCategoriesTO {
    
    public function findValidCategoriesByGroup($group_id,$supplier_id = 0){
        $query = $this->group_categories_stmt->prepareSelectValidCategoriesByGroup($group_id,$supplier_id);
        $this->prepareData($query);
        $this->exec();
    }
}
